# Base16 template for Alacritty, 256 colors
#
# Adapted from :
# github.com/aarowill/base16-alacritty/blob/master/templates/default-256.mustache
#
# The "{{baseXX-hex}}" strings will be replaced with a Nushell script and saved
# as ~/.config/alacritty/alacritty_colors.yml. The main config (alacritty.yml)
# should be configured to load the generated file.
#
# I'm setting only the background and the foreground but in the comments is the
# full config for reference.

colors:
  # Default colors
  primary:
    background: '{{base00-hex}}'
    foreground: '{{base05-hex}}'

  # Colors the cursor will use if `custom_cursor_colors` is true
  # cursor:
  #   text: '{{base00-hex}}'
  #   cursor: '{{base05-hex}}'

  # Normal colors
  # normal:
  #   black:   '{{base00-hex}}'
  #   red:     '{{base08-hex}}'
  #   green:   '{{base0b-hex}}'
  #   yellow:  '{{base0a-hex}}'
  #   blue:    '{{base0d-hex}}'
  #   magenta: '{{base0e-hex}}'
  #   cyan:    '{{base0c-hex}}'
  #   white:   '{{base05-hex}}'

  # Bright colors
  # bright:
  #   black:   '{{base03-hex}}'
  #   red:     '{{base08-hex}}'
  #   green:   '{{base0b-hex}}'
  #   yellow:  '{{base0a-hex}}'
  #   blue:    '{{base0d-hex}}'
  #   magenta: '{{base0e-hex}}'
  #   cyan:    '{{base0c-hex}}'
  #   white:   '{{base07-hex}}'

  # indexed_colors:
  #   - { index: 16, color: '{{base09-hex}}' }
  #   - { index: 17, color: '{{base0f-hex}}' }
  #   - { index: 18, color: '{{base01-hex}}' }
  #   - { index: 19, color: '{{base02-hex}}' }
  #   - { index: 20, color: '{{base04-hex}}' }
  #   - { index: 21, color: '{{base06-hex}}' }
